package com.xhorse.lockplatform.dao.mapper;

import com.xhorse.lockplatform.model.pojo.CarMake;
import com.xhorse.lockplatform.model.pojo.ResponseKeyInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface KeyGenerationMapper {

    public List<ResponseKeyInfo> getKeyGenerate(
            @Param("dbversion") String dbversion,
            @Param("languageId") int languageId,
            @Param("regionId") int regionId, @Param("makeType") int makeType);

    public String selectMaxTime(@Param("dbversion") String dbversion,
                                @Param("regionId") int regionId, @Param("makeType") int makeType);

    public List<CarMake> getRemotInfo(@Param("dbversion") String dbversion,
                                      @Param("languageId") int languageId);

    public String selectRemoteInfoMaxVersion(
            @Param("dbversion") String dbversion,
            @Param("languageId") int languageId);

    public String selectChipInfoVersion(@Param("dbversion") String dbversion,
                                        @Param("languageId") int languageId);

    public List<ResponseKeyInfo> chipGenerate(@Param("dbversion") String dbversion,
                                              @Param("languageId") int languageId);

    public String selectImgVersion(@Param("dbversion") String dbversion,
                                   @Param("languageId") int languageId,
                                   @Param("regionId") int regionId, @Param("makeType") int makeType);

}
